HTML - Indesign >> Xml >> Web/xhtml
...and/or vice-versa, anyone?
I have a client with a print publication, he does absolutely everything in InDesign including sticky notes and Sunday barbeque. I sold him on a website and found myself taking his classified ads each week and tediously transforming them to def list items. I should mention that client likes the way he does things and i don't want to upset his workflow. In fact i'm hoping to help him automate it to some extent. I don't need links to PDFs b/c i have every one of them on the subject. Unfortunately i go to sleep about halfway thru the more arcane InDesign details and i just can't seem to get a complete concept what needs done here. The classifieds are currently in their own template, in precisely defined columns which he can copy/paste into his final edition. I've figured out how to tag the elements to make for a sensible XML document, but i have not figured out what the InDesign equivalent of a stylesheet might be. More importantly, i haven't figured out which way the data should flow, i.e. from database to client or vice-versa. The latter is probably preferable, if i can give client a tagged template into which he can type his ads as he's accustomed. ...and i think i'll leave it at that and give more details if there's anyone around here who knows this stuff. I've been to the Adobe forums but they want me to RTFM. Which i have done, to an extent, but it's one of those situations where i'm not sure where to direct my attention given the time i have in which i have to do so. IOW i need a broad understanding of what can and can't be done, in order to know from which direction to go at it, in order to know where to focus my attention. Thanks, Similar TutorialsWhich one is better? XHTML STRICT 1.0 or XHTML 1.1 so xhtml elements should always be in lowercase how does this extend to the case in css. for example if im using a xhtml doctype should i be using lower case color values like color:#ffffff vs color:#FFFFFF. I know as per a hexidecimal value "ffffff" is the same as "FFFFFF" and the same as "fFfFfF". they are all equal to the same value so it really doesn't matter but does the xhtml doctype dictate that these values should be in lowercase? hi and goodafternoon i run wapsites and i want to convert the wml scripts to xhtml all my scripts are php based which i know will work in xhtml too. i also use mysql coding for database side of things . here is one of my smaller scripts . <?php <wml> <card title="sitename"> <p align="center"> <img src="logo.gif" alt="logo"/><br/> Welcome!!<br/><br/><a href="login.php"><img src="login.gif" alt="Login"/></a><br/><a href="terms.php"><img src="register.gif" alt="Register"/></a><br/> <br/> <big><b><a href="terms.php">Terms of use!</a></b></big> <br/> You are here with<br/> END; print 'Browser:'; $browser = explode ('/', $HTTP_USER_AGENT); print $browser[0]; print '<br/>'; print "IP-Adress: $REMOTE_ADDR<br/>\n"; print <<<END ---<br/> </p> </card> </wml> END; ?> how would i convert that to xhtml . and if its just a case of changing the tags then would it work on the rest of the scripts with sql coding in too . nclemale@hotmail.com or post your replies here thanks in advance I'm pretty new to XHTML and I see that to properly close a br tag (and others), you usually put a space, then a slash, then a closing chevron, a la <br />. But I was wondering if there is anything fundamentally wrong with eliminating the space before the slash. It seems to work in my browser either way, and I think it makes the code a little easier to read and type. Thanks! can make dynamic website in xhtml hello friends , I want to know that what is what is XHTML ? plz anybody help me . I want to know about this . Thankx ==== Please anybody tell me about the XHTML. what is xhtml? Tell me..... I am reading about XHTML now and noticed that it is really no different than HTML. The only difference(s) are, correct me if I'm wrong, that XHTML is more strict with the rules. Lowered-cased letters, properly closed tags, etc, all that mumbo jumbo. If I'm already doing that with HTML, must I need to worry about XHTML? Hi. I *hate* I.E. I'm usually browsing websites in Google Chrome - & sometimes Mozilla / Opera. Ive designed a website (not public as yet), & it does validate for XHTML - it looks perfect on Opera / Mozilla & Chrome. But IE messes it up. Basically it uses Divs, & has a left menu, & the main content is a Google map. Also, top menu / banner & a footer at the bottom.. on IE7, the google map is UNDER the list of cities etc (left menu), instead of in the middle / right of the left menu.. Can anyone advise a website listing common IE problems & how web designers can fix it.. What is the difference between HTML and XHTML? What are the benefits and is it worth learning? Thanx 4 the help! Hello, I am coming back after a long time without doing xhtml, but i have a question, I want one page to pretty much be a page where the user browses for the jpg file or bmp file and uploads it with the text box information they have below, i have 3 text boxes which will have their name, last name and description, after they click submit, i want it to be able get the image, with the text box information and post it on another web page, stupid question but, can this be done in xhtml? if so, i got the page already done with the 3 text boxes and the browse button to find jpg and bmp, but the rest such as getting that info and posting it on another webpage is a different story, how would I accomplish that? Also, on the browse feature, how do i tell it to find only jpg and bmp and not other file extensions? thanks again Hi I'm a bit new to the xhtml thing, but I need to create a small table with valid xhtml code. It just needs to have 8 cells inside it with a picture in each cell with a caption. Can anyone send me some basic code to help me set this up? I think i can do it in html, but have no clue when it comes to xhtml. Thanks!! Ok i have this one error and ive deleted the entire line but it repeats the same error again because the link below it has the same error aswel.. Not sure what the error is.. Any ideas please? CLICK HERE TO SEE THE XHTML VALIDATION ERROR Ive pasted the error below aswel.. # Error Line 61 column 96: there is no attribute "target". ...l_2_briefs/IND382_brief.html" target="_blank">IND382</a><br /> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. Need a little help with my nav div. Within my nav div I have three other divs, nav_top, nav_search, and nav_bar. I'm having two problems. 1) In PC IE (IE 6 is what I'm running) for some reason there is a slight gap, maybe 5px, for some reason. This in turns makes a little gap under the logo. I can't figure out why this is happening. If you look at it in IE and press Ctrl + A to select all you'll be able to see the gap I'm talking about. Check it out in Firefox to see what it should look like. 2) In Safari my search input field is aligned to the bottom of the div for some reason even though I have it assigned a bottom margin of 18px; Looks fine in all other browsers. No matter what I try, I can't get it to move back up where it's supposed to be. Any suggestions would be awesome. View the Page I can't get one of my pages to validate in xhtml, it seems to be the <embed> part which is causing the problems. Here is a link to the page: http://www.a104mc.connwarwicker.co.uk/music.html And here is the section which is causing most of the errors: HTML Code: function playSound(s){ var f = playList[s]; var t = songNames[s]; $('connsplayground').innerHTML = ""; $('connsplayground').innerHTML = "<embed src='http://www.a104mc.connwarwicker.co.uk/sounds/"+f+"' hidden='true' style='width:0px;height:0px;' autostart='true' loop='true' />"; $('songtitle').innerHTML = t; currentSong = s; alterText(); } With such errors as: there is no attribute "src". there is no attribute "hidden" there is no attribute "style" there is no attribute "autostart". etc... I'm using this doc type: HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Any idea as to how i can fix these errors? I've tried using an <object> instead, but that didn't seem to work very well at all. Hello everyone. I'm conducting this little experiment for my 3rd year dissertsation project and I need people who know XHTML/CSS to do it. It's online at msin9001.exofire.net and it takes about 30minutes. Note it works best in Mozilla Firefox and - because of my server - may run a little slow at times. If you've got time and a good heart, the contribution would be much appreciated. Thanks alot! Shanba PS If it crashes, try REFRESH not BACK as I'm using PHP postdata. Im just starting to get into an ajax project (a drag and drop cart) for a website. I have NEVER used ajax before untill now. Anyhow this project does have an XHTML page which is something else I have never done untill now but I am getting an error and I am wondering how to fix it. Here is the error: XML Parsing Error: not well-formed Location: file:///C:/xampp/htdocs/viewable/uploader/ajax/cart.xhtml Line Number 67, Column 31: var pars = 'clear=true&rand=' + rand; ------------------------------------------------------------------^ That line in the code is this... Quote: var pars = 'product_id=' + prod + '&rand=' + rand; If you need more info let me know Thanks alot for the help in advance. This past week the W3C announced the publication of a working draft of RDFa in XHTML: Syntax and Processing in their Semantic Web Activity News Weblog which includes an RSS feed. I include a Semantic Web/RDF Overview/Reference compilation via the link in my signature block. James |