xsddoc/src/net/sf/xframe/xsddoc/xslt index-all.xsl,1.1,1.2 overview-all.xsl,1.1,1.2 schema-index.xsl,1.14,1.15

bforge <[email protected]> Wed, 15 Feb 2006 00:35:30 +0000
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1680/src/net/sf/xframe/xsddoc/xslt

Modified Files:
	index-all.xsl overview-all.xsl schema-index.xsl 
Log Message:
fix for bug [1362791] Transformation fails for root element with ns in attributes 

Index: overview-all.xsl
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/overview-all.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** overview-all.xsl	13 Jan 2005 15:56:35 -0000	1.1
--- overview-all.xsl	15 Feb 2006 00:35:27 -0000	1.2
***************
*** 66,70 ****
    <xsl:template match="xs:schema">
      <doc:overview-all href="./schema-summary.html">
!       <xsl:for-each select="@*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>
--- 66,70 ----
    <xsl:template match="xs:schema">
      <doc:overview-all href="./schema-summary.html">
!       <xsl:for-each select="@xs:*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>

Index: index-all.xsl
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/index-all.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index-all.xsl	13 Jan 2005 15:56:34 -0000	1.1
--- index-all.xsl	15 Feb 2006 00:35:27 -0000	1.2
***************
*** 66,70 ****
    <xsl:template match="xs:schema">
      <doc:index-all href="./schema-summary.html">
!       <xsl:for-each select="@*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>
--- 66,70 ----
    <xsl:template match="xs:schema">
      <doc:index-all href="./schema-summary.html">
!       <xsl:for-each select="@xs:*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>

Index: schema-index.xsl
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/schema-index.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** schema-index.xsl	13 Dec 2004 13:26:17 -0000	1.14
--- schema-index.xsl	15 Feb 2006 00:35:27 -0000	1.15
***************
*** 76,80 ****
      </xsl:variable>
      <doc:schema-index namespace="{$ns}" href="./schema-summary.html">
!       <xsl:for-each select="@*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>
--- 76,80 ----
      </xsl:variable>
      <doc:schema-index namespace="{$ns}" href="./schema-summary.html">
!       <xsl:for-each select="@xs:*">
          <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute>
        </xsl:for-each>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642