Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mcarvin

macrumors regular
Original poster
Oct 26, 2003
224
2
Southern NJ
Here's the scenario: I would like to write one batch of content to be used on both my website and PDF portfolio. I have the content written, images collected, and 2 masters done in InDesign. This is a sample of the XML
PHP:
    <company>
		<name>companyname</name>
		<companyIntro>company bkgd info</companyIntro>
		<piece>
			<pieceTitle></pieceTitle>
			<pieceImage href="blahblah"></pieceImage>
			<pieceDesc></pieceDesc>
		</piece>
		<piece>
			<pieceTitle></pieceTitle>
			<pieceImage href="blahblah"></pieceImage>
			<pieceDesc></pieceDesc>
		</piece>
	</company>

I could have several <Piece>s for one company (ranging 2-5). Since I designed for 1 piece/page, I'd like to have the new pages added in automatically.

To that end, I was going around Adobe's forums to see if there were any special tags I'd need to use and it seems that Adobe has their own DTD for InDesign at http://ns.adobe.com/AdobeInDesign/3.0/ (you will get a 404, so it's not linked). In my research there, I found that there are a couple of tags that handle line breaks and tabs - <aid:br/> and <aid:tab/>. However, there appears to be no documentation on those, or any other tags in the DTD. Google and Yahoo show nothing, and neither does Usenet.

Given that, I think I have a couple of questions:
First, am I doing this in a good way to start out with? If not, I'm completely open to suggestions.
Second, does anyone here know of the documentation on those tags?

Thanks guys,
Michael
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.