Hirdetés
- Google Pixel 9 Pro XL - hét szűk esztendő
- Minden a BlackBerry telefonokról és rendszerről
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- iPhone topik
- MIUI / HyperOS topik
- CES 2026: Új autót mutatott be a Sony Honda Mobility
- Motorola G86 - majdnem Edge
- Apple Watch
- Samsung Galaxy S25 Edge - a tegnap határán
- Félmillió felett a kiszállított Xiaomi autók száma
-
Mobilarena

Új hozzászólás Aktív témák
-
Jester01
veterán
válasz
zserrbo
#6650
üzenetére
<?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="/body">
<!-- first div -->
<xsl:variable name="root" select="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::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!
- Endgame Gear gamer egerek /OP1 8K, XM2we, XM1R, XM1 RGB (fehér/fekete/lila)/
- Sony TA-F830ES erősítő + Sony ST-S730ES rádió tuner
- Apple iPhone 13 Pro Max Graphite ProMotion 120 Hz, Pro kamerák 128 GB-100%-3hó gari!
- Azonnali készpénzes AMD Radeon RX 6000 sorozat videokártya felvásárlás személyesen/csomagküldéssel
- HIBÁTLAN iPhone 13 Pro 128GB Alpine Green -1 ÉV GARANCIA - Kártyafüggetlen, MS2978
Állásajánlatok
Cég: Laptopszaki Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest



