W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

Re: towards consensus on fixup, part 2

From: Innovimax SARL <innovimax@gmail.com>
Date: Fri, 7 Sep 2007 16:31:54 +0200
Message-ID: <546c6c1c0709070731i5fd3d7eekf047d03116f6cb81@mail.gmail.com>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: public-xml-processing-model-wg@w3.org

Henri,

Thanks for the reminder

It enlighten that serializing the document at each step need to keep
some Doctype information, isn'it ?

Mohamed

On 9/7/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Innovimax SARL writes:
>
> > What does [attribute type] means ?
>
> It's a property of Attribute Information Items [1], which tells you
> what, if anything, is known about the XML 1.0/XML 1.1 type of the
> attribute, that is, CDATA, NMTOKEN, ID, IDREF, etc.  Would you like
> the following pipeline to work?
>
>  <p:pipeline>
>
>   <p:identity/>
>
>   <p:xslt>
>    <p:input port="stylesheet">
>     <p:inline>
>      <xsl:stylesheet>
>       . . .
>       <xsl:template match="ref">
>        <a href="#{@secid}>
>         <xsl:value-of select="id(@secid)/title"/>
>        </a>
>       </xsl:template>
>       . . .
>    </p:xslt>
>   </p:pipeline>
>
> on input such as
>
>  <!DOCTYPE doc [
>  . . .
>  <!ATTLIST sec myid ID #REQUIRED>
>  . . .
>  ]>
>  <doc>
>   . . .
>   <ref secid="s3"/>
>   . . .
>   <sec myid="s3">
>     <title>Future work</title>
>  . . .
>  </doc>
>
> If the type of attributes isn't preserved, that pipeline won't work as
> you (I think) and I (I know) would like and expect.
>
> ht
>
> [1] http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.attribute
> - --
>  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
>                      Half-time member of W3C Team
>     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>             Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
>                    URL: http://www.ltg.ed.ac.uk/~ht/
> [mail really from me _always_ has this .sig -- mail without it is forged spam]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFG4VPJkjnJixAXWBoRAi6ZAJ0amthW1z8HcwnwXvO1RniLdf7BpACfWstx
> jjp2g05UBoEh3ExePKb1YlQ=
> =Er+7
> -----END PGP SIGNATURE-----
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 7 September 2007 14:32:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT