[Serna] XSL-Sheets
<!DOCTYPE TEI.2 PUBLIC "-//TEI//DTD TEI Manuscript 1.0 //EN" "../../../teims.dtd" [
In addition, in the template I refer to "teims.xsd", which I need for the template and which is converted from teims.dtd and which is required for the template.
Does that mean that the document is vaidated twice, both agaist dtd and xsd? Is there a way to leave one out? If I delete the teims.dtd or give an unvalid path, Serna opens with an error.
Regards
Hans-Peter Radenberg
<a>
<xi:include
href="b.xml"
xpointer="p1"
parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
</a>
<b>
<p id="p1">aaaa</p>
<p
id="p2">bbbb</p>
</b>
I have noticed a similar problem with our TEIms files. Including an author list works fine, but as soon as I refer to a special author with xpointer, Serna does not seem to react. Maybe I'm missing some elementary point?
Regards
Hans-Peter Radenberg
Hans-Peter, > In our manuscript files, I am using the line > > <!DOCTYPE TEI.2 PUBLIC "-//TEI//DTD TEI Manuscript 1.0 //EN" > "../../../teims.dtd" [ > > In addition, in the template I refer to "teims.xsd", which I need for > the template and which is converted from teims.dtd and which is required > for the template. > > Does that mean that the document is vaidated twice, both agaist dtd and > xsd? Is there a way to leave one out? If I delete the teims.dtd or give > an unvalid path, Serna opens with an error. Serna validates only against XML Schema. The only reason why DTD is involved is because DTD sometimes defines additional external and internal entities. DTD is not used for validation in Serna. Hence, in the case of TEI leave DTD in the document declarations. Your other e-mails are to be answered later. Regards, Ilia Kuznetsov
Hello Hans-Peter, Did you declare your 'id' attribute as 'ID' in the dtd or schema? It's necessary when work with xpointer. Regards, Daria Chernova On Fri, 10 Feb 2006, Hans-Peter Radenberg wrote: > Hello there, > > I am trying to follow the xinclude examples from zvon. The basic ones > work fine, but coming to xpointer, Serna shows the big blue "<>" markers > for the inclusion, but no text (I would expect "aaaa". What is wrong > with it? > > a.xml: > <a> > <xi:include href="b.xml" > xpointer="p1" > parse="xml" > xmlns:xi="http://www.w3.org/2001/XInclude"/> > </a> > > > b.xml: > <b> > <p id="p1">aaaa</p> > <p id="p2">bbbb</p> > </b> > > I have noticed a similar problem with our TEIms files. Including an > author list works fine, but as soon as I refer to a special author with > xpointer, Serna does not seem to react. Maybe I'm missing some > elementary point? > > Regards > > Hans-Peter Radenberg > >
Hello Hans-Peter, How do you print? Do you want to assign stylesheet for 'Print Draft' or publishing? On Fri, 10 Feb 2006, Hans-Peter Radenberg wrote: > Hello there, > > I am using a stylesheet for our TEI-manuscript input where I make use of > border lines to see the "input fields" more clearly. But when we print > such I mansucript, we find the border lines disturbing. > > Is there a way to assign different stylesheet to screen view and to > printing? > > Regards > > Hans-Peter Radenberg > Regards, Daria Chernova
Hi Daria, No I did not declare it. I went to www.zvon.org and started to copy the examples about xinclude and xpointer. They did so far not mention anything about the dtd and the ID I have to declare, and so I expected them to work with Serna. Is this something specific to Serna or something that applies to XInclude in general? So could you tell me where I can find simple examples about xinclude which are really complete (nothing about IDs and so on missing) and which in can repeat in Serna? Thanks in advance Hans-Peter ________________________________ Von: cherdn@... [mailto:cherdn@...] Gesendet: Mo 13.02.2006 15:22 An: Hans-Peter Radenberg Cc: serna-users@... Betreff: Re: [Serna] XInclude Hello Hans-Peter, Did you declare your 'id' attribute as 'ID' in the dtd or schema? It's necessary when work with xpointer. Regards, Daria Chernova On Fri, 10 Feb 2006, Hans-Peter Radenberg wrote: > Hello there, > > I am trying to follow the xinclude examples from zvon. The basic ones > work fine, but coming to xpointer, Serna shows the big blue "<>" markers > for the inclusion, but no text (I would expect "aaaa". What is wrong > with it? > > a.xml: > <a> > <xi:include href="b.xml" > xpointer="p1" > parse="xml" > xmlns:xi="http://www.w3.org/2001/XInclude"/> > </a> > > > b.xml: > <b> > <p id="p1">aaaa</p> > <p id="p2">bbbb</p> > </b> > > I have noticed a similar problem with our TEIms files. Including an > author list works fine, but as soon as I refer to a special author with > xpointer, Serna does not seem to react. Maybe I'm missing some > elementary point? > > Regards > > Hans-Peter Radenberg > >
That is a feature of XPointer, which is part of XInclude, not Serna. The DocBook DTD has id attributes declared as type id, so they work with XInclude. You can find examples of using XInclude in DocBook here: http://www.sagehill.net/docbookxsl/ModularDoc.html#UsingXinclude Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Hans-Peter Radenberg" <Radenberg@...> To: <cherdn@...> Cc: <serna-users@...> Sent: Wednesday, February 15, 2006 9:25 AM Subject: AW: [Serna] XInclude Hi Daria, No I did not declare it. I went to www.zvon.org and started to copy the examples about xinclude and xpointer. They did so far not mention anything about the dtd and the ID I have to declare, and so I expected them to work with Serna. Is this something specific to Serna or something that applies to XInclude in general? So could you tell me where I can find simple examples about xinclude which are really complete (nothing about IDs and so on missing) and which in can repeat in Serna? Thanks in advance Hans-Peter ________________________________ Von: cherdn@... [mailto:cherdn@...] Gesendet: Mo 13.02.2006 15:22 An: Hans-Peter Radenberg Cc: serna-users@... Betreff: Re: [Serna] XInclude Hello Hans-Peter, Did you declare your 'id' attribute as 'ID' in the dtd or schema? It's necessary when work with xpointer. Regards, Daria Chernova On Fri, 10 Feb 2006, Hans-Peter Radenberg wrote: > Hello there, > > I am trying to follow the xinclude examples from zvon. The basic ones > work fine, but coming to xpointer, Serna shows the big blue "<>" markers > for the inclusion, but no text (I would expect "aaaa". What is wrong > with it? > > a.xml: > <a> > <xi:include href="b.xml" > xpointer="p1" > parse="xml" > xmlns:xi="http://www.w3.org/2001/XInclude"/> > </a> > > > b.xml: > <b> > <p id="p1">aaaa</p> > <p id="p2">bbbb</p> > </b> > > I have noticed a similar problem with our TEIms files. Including an > author list works fine, but as soon as I refer to a special author with > xpointer, Serna does not seem to react. Maybe I'm missing some > elementary point? > > Regards > > Hans-Peter Radenberg > > To unsubscribe send empty e-mail to: serna-users-unsubscribe@...
Hello, is there any chance to see integration with version control systems such as Subversion or Perforce implemented in Serna anytime soon? I would have thought that for concurrent editing of large documents this is a must, but apparently... Or did I miss something? TIA, Sincerely, Wolfgang Keller
RSS Feed1 | |
|---|---|
1 | |
2 | |
3 | |
2 | |
5 | |
9 | |
3 | |
9 | |
1 | |
1 | |
26 | |
8 | |
3 | |
21 | |
15 | |
16 | |
13 | |
22 | |
3 | |
7 | |
4 | |
9 | |
2 | |
5 | |
14 | |
21 | |
22 | |
8 | |
5 | |
6 | |
9 | |
11 | |
17 | |
16 | |
5 | |
13 | |
24 | |
24 | |
3 | |
28 | |
12 | |
7 | |
15 | |
2 | |
2 | |
5 | |
3 | |
7 | |
15 | |
2 | |
2 | |
10 | |
11 | |
8 | |
13 | |
4 | |
2 | |
1 | |
2 | |
1 | |
1 | |
1 |