Hirdetés
- Samsung Galaxy Watch5 Pro - kerek, de nem tekerek
- CES 2026: Kezemben a Razr Fold
- Google Pixel topik
- iPhone topik
- Xiaomi 15 - kicsi telefon nagy energiával
- Szívós, szép és kitartó az új OnePlus óra
- CES 2026: Dugd rám a telefonod, megmondom ki vagy!
- Android alkalmazások - szoftver kibeszélő topik
- Samsung Galaxy Watch (Tizen és Wear OS) ingyenes számlapok, kupon kódok
- Kezünkben a OnePlus 15 és az Oppo Find X9-ek
-
Mobilarena

Új hozzászólás Aktív témák
-
Jester01
veterán
válasz
zserrbo
#6654
üzenetére
Az xmlns miatt nem megy. Ugye ha namespace-be teszed az elemeket akkor már nem az a neve, hogy "body" ...
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
<xsl:template match="xhtml:body" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- first div -->
<xsl:variable name="root" select="xhtml:div" />
<xsl:element name="entity">
<xsl:attribute name="id">
<xsl:value-of select="$root/@id" />
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select="substring-before(substring($root/@class, 3), ' ')" />
</xsl:attribute>
<xsl:attribute name="top">
<xsl:value-of select="substring-before(substring-after($root/@style, 'top:'), 'px;')" />
</xsl:attribute>
<xsl:attribute name="left">
<xsl:value-of select="substring-before(substring-after($root/@style, 'left:'), 'px;')" />
</xsl:attribute>
<xsl:value-of select="normalize-space(string($root))" />
<xsl:for-each select="$root/following-sibling::xhtml:div">
<xsl:element name="property">
<xsl:attribute name="id">
<xsl:value-of select="@id" />
</xsl:attribute>
<xsl:attribute name="type">kulcs</xsl:attribute>
<xsl:attribute name="top">
<xsl:value-of select="substring-before(substring-after(@style, 'top:'), 'px;')" />
</xsl:attribute>
<xsl:attribute name="left">
<xsl:value-of select="substring-before(substring-after(@style, 'left:'), 'px;')" />
</xsl:attribute>
<xsl:value-of select="normalize-space(string(.))" />
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- Precision 5560 ,15.6" FHD+ IPS i7-11850H RTX A2000 32GB 512GB ujjolv IR kam gar
- Dell Latitude 7430 14" FHD IPS i5-1235U 16GB 256GB NVMe ujjlolv IR kam gar
- Eladó egy Samsung Galaxy A55 5G 256GB/12GB RAM verzió, rózsaszin 1 évesen, mint az új, karcmentesen!
- Thinkpad T14s Gen2i 14" FHD IPS i7-1185G7 32GB 512GB NVMe ujjlolv IR kam gar
- Bomba ár! HP ProBook 640 G8 - i5-1145G7 I 16GB I 512GB SSD I 14" FULLHD I Cam I W11 I Gari!
- Dell Latitude 7330 i7-1255U 16GB 1TB 400nites legjobb kijelző! 1 év garancia
- ÁRGARANCIA!Épített KomPhone Ryzen 7 7800X3D 32/64GB RAM RTX 5070Ti 16GB GAMER PC termékbeszámítással
- iPhone 14 128GB 100% (GARANCIÁBAN CSERÉLT)
- Akció! HP ZBook Firefly 14 i7-1165G7 16GB 512GB Nvidia Quadro T500 4GB 14" FHD 1 év garancia
- ÚJ ELEKTROMOS ROLLER és EBIKE 2/3 ár alatt, CSERE IS!!! a és e-bike dobozban, 1 év gar.:
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopszaki Kft.
Város: Budapest



