Search found 19 matches

by dinodc
Fri Jul 18, 2014 10:26 pm
Forum: Other Issues
Topic: Importing to display a html page in DocBook
Replies: 1
Views: 1313

Importing to display a html page in DocBook

Hello to all! Someone at work likes what we did with importing but this time he needs to import and display a html page, not the raw data, not the code, but the html page to be imported into DocBook. Of course we will us the "include"...but parse=Text, parse="html", doesn't work ...
by dinodc
Fri Jul 18, 2014 8:06 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

I have now a related issue. Someone at work likes what we did with importing but this time he needs to import and display a html page, not the raw data, not the code, but the html page to be imported into DocBook. Of course we will us the "include"...but parse=Text, parse="html",...
by dinodc
Fri Jul 18, 2014 8:03 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Thanks all for the importing into DocBook help!!!!!!! All works! Sorry for the delay for this comments.
by dinodc
Sat Jun 07, 2014 2:13 am
Forum: Other Issues
Topic: DocBook, TOC for 2 different books?
Replies: 4
Views: 2343

Re: DocBook, TOC for 2 different books?

Below is one of my documents. Can I set the level of toc in this xml document? <?xml version="1.0" encoding="UTF-8"?> <book version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>Manager</title> <subtit...
by dinodc
Fri Jun 06, 2014 8:07 pm
Forum: Other Issues
Topic: DocBook, TOC for 2 different books?
Replies: 4
Views: 2343

Re: DocBook, TOC for 2 different books?

Hi, You can use the same docbook.xsl file for both books if you set the toc.section.depth parameter in each PDF transformation when you start it, in the process that calls the docbook.xsl file. In Oxygen that would be the Parameters dialog box . The value set in the docbook.xsl file is only a defau...
by dinodc
Wed Jun 04, 2014 11:39 pm
Forum: Other Issues
Topic: DocBook, TOC for 2 different books?
Replies: 4
Views: 2343

DocBook, TOC for 2 different books?

Hi guys! Question about DocBook. In our documentation project we have 2 books that output 2 different pdf files. In the that project, there is a XSL folder which contains the docbook.xsl file. That file helps format our TOC(Table of Content). We found out that when we added a line in the docbook.xsl...
by dinodc
Tue May 20, 2014 7:32 pm
Forum: General XML Questions
Topic: DocBooks's Table's Cell Long Line
Replies: 1
Views: 2191

DocBooks's Table's Cell Long Line

How can I wrap a long name with DocBook's Table's Cell? In Oxygen Author, I tired a few things within the Text and Author tab. We're using the docbook_custom.xml as our CSS, I believe. I see Can someone help? For instance the name could be Demo_Sprint5_XXXXXPlan.xml. That name will run into the othe...
by dinodc
Mon May 19, 2014 11:24 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

To add to this same scenario above, where I was able to hard code the location of the schematron and using the xinclude and href. Now, how do I make it more dynamic, no hard coded, if someone else performs a build and their workspace is different name, how would I find the schematron? Would I some h...
by dinodc
Tue May 13, 2014 10:52 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Thanks Adrian,

Glad to know the answer to that. I did add more includes and that worked. Is there a way to get the content to be more left justify? I used </programlisting> to keep the content the way I usually see it, but the content is going off to the right when I generate it in a PDF.
by dinodc
Tue May 13, 2014 7:28 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

I got it to import and show the content, on different test, of 1 XML and 1 schematron file from my local hard drive. Now, how would you import many files and its content to show in DocBook? For 1 file I used: <xi:include href="file:///SchTest/Test.sch" parse="text"> What would be...
by dinodc
Fri May 09, 2014 11:19 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Adrian, I removed the parse="xml" and changed to parse="text"..also commented out the <para> and replaced it with <programlisting>. I like that it finally shows the content of the xml. Oh ok...don't use href for local...ok. I did chnage the test.xml or a schematron file and it wo...
by dinodc
Fri May 09, 2014 11:02 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Here is the entire code: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type=&q...
by dinodc
Fri May 09, 2014 9:21 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

TO make simple and to see if I am on the right path I simplified my problem. I tired a 1 small text file on my local drive. Text works.. . I can see the content when I product a PDF. I changed parse="xml" and only the tags appear. <title>***Schematron File Name***</title> <para> <xi:includ...
by dinodc
Fri May 09, 2014 6:27 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Adrian , Yes, I need to import the actual text content of the Schematron file. We want to dynamically importing anything in a particular folder that contains all the schematron files and put in our DocBook which later will produce a PDF(we perform a MVN Install) which shows other information as well...
by dinodc
Thu May 08, 2014 10:18 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Re: Importing a Schematron(blah.sch) from a directory into D

Sorry for the missing words. Here is the request: I took overt this task to import several Schematrons into DocBook. I'm using oxygen XML Author. I guess the previous person who was task to do this said he tried to import but the schematron wouldn't show in DocBook unless they removed some tags, or ...
by dinodc
Thu May 08, 2014 9:45 pm
Forum: Other Issues
Topic: Importing a Schematron(blah.sch) from a directory into DocBo
Replies: 17
Views: 11336

Importing a Schematron(blah.sch) from a directory into DocBo

Hi, I took overt this task to import several Schematrons into DocBook. I'm using oxygen XML Author. I guess previous who was task to do this said he tried to import but the schematron show unless they removed some tags, or something, for it to work. . .schematron would be displayed in our DocBook. c...
by dinodc
Mon Apr 21, 2014 5:43 am
Forum: General XML Questions
Topic: :rule context=" " subject=" "
Replies: 5
Views: 3696

Re: :rule context=" " subject=" "

Thanks....I will try later. But many thanks and I will keep you updated!
by dinodc
Sun Apr 20, 2014 8:47 pm
Forum: General XML Questions
Topic: :rule context=" " subject=" "
Replies: 5
Views: 3696

Re: :rule context=" " subject=" "

Thanks Jamil. I like how you have the "[count(@attributeThatMustExist)>0]". But my problem is this. I want to check that the attribute is located in another node. If it does, then in a different node I want to run the assert to test that node/subnode's Properties exist. The reason is that ...
by dinodc
Fri Apr 18, 2014 1:16 am
Forum: General XML Questions
Topic: :rule context=" " subject=" "
Replies: 5
Views: 3696

:rule context=" " subject=" "

Are there more example to use the "subject within rule context? (<sch:rule context="blah/blah/blah" subject=""> ) See, I was task to be more specific..have a way to check if a value is there, if so, then run "assert" within the <pattern>. We know <rule context=&quo...