User Profile

Collapse

Profile Sidebar

Collapse
mjmj1059
mjmj1059
Last Activity: Aug 12 '07, 05:25 AM
Joined: Apr 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mjmj1059
    replied to Rename attributes and elements
    in XML
    No, it didn't work either. Here is the XSL file.

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    
       <xsl:attribute-set name="divs">
          <xsl:attribute name="id">{@id}</xsl:attribute>
          <xsl:attribute name="style">position:absolute;width:100%;height:100%;overflow:auto;visibility:hidden;</xsl:attribute>
    ...
    See more | Go to post

    Leave a comment:


  • mjmj1059
    replied to Rename attributes and elements
    in XML
    So, I am trying to do the following (or similar).

    Code:
       <xsl:attribute-set name="divs">
          <xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
          <xsl:attribute name="style">position:absolute;width:100%;height:100%;overflow:auto;visibility:hidden;</xsl:attribute>
       </xsl:attribute-set>
    OR
    ...
    See more | Go to post

    Leave a comment:


  • mjmj1059
    replied to Rename attributes and elements
    in XML
    can you elaborate? I am trying to create new DIVs from XML and need to set the id attribute of the DIVs from an id attribute of the XML elemtens.

    I have managed to set the style attributes of DIVs using attribute-set (simple string) but cannot load in the @id part. I think this is what you were trying to do.

    Can you help me?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...